package com.easyjava.bean;

import lombok.Data;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

@Data
public class TableInfo {
    /**
     * 表名
     */
    private String tableName;
    /**
     * bean名称
     */
    private String beanName;
    /**
     * 参数名称
     */
    private String beanParamName;
    /**
     * 表注释
     */
    private String comment;

    private List<FieldInfo> fieldList;
    /**
     * 扩展字段信息
     */
    private List<FieldInfo> fieldExtendList;
    private Map<String,List<FieldInfo>> keyIndexMap = new LinkedHashMap<>();
    private Boolean haveDate = false;
    private Boolean haveDateTime = false;
    private Boolean haveBigDecimal = false;
}
